import { appRender } from './app'
import { playerRender } from './player'
import { indexRender } from './home'

function main () {

  switch (location.pathname) {
    case '/learnspace/learn/learn/templateeight/index.action':
      return indexRender()
    case '/learnspace/learn/learn/templateeight/courseware_index.action':
      return appRender()
    case '/learnspace/learn/learn/templateeight/content_video.action':
      return playerRender()
  }
}

main()
